A very unfortunate and heart sobbing incident for who lost the parts of their families and humans in humanity in general. My heartfelt condolence.
Pan Am flight incident has "nothing to do" with Libya and Al-Megrahi. This was done by "Guardians of the Islamic Revolution", the professionals that Iran hired to take revenge of the destruction of an Airbus A300B2 operated by Iran Air as IR655, flying from Iran, to Dubai, when it was targeted by the U.S. Navy's guided missile cruiser 'USS Vinncennas' killing all 290 passengers and crew aboard, including 66 children.
So, it was 270 lives against 290 lives, its unfortunately quite a barter system in most henious form, Just that one side refutes to take responsibility and tries to craft the facts instead.
The story of Libya was created by FBI and CIA based on complete farce and manufactured information, evidences, and paid wittnesses. It was a high level inside job that kept even the case attorney devoid of real know-how, only to be revealed much later.