People became panicked as tremors jolted Bangladesh twice in the afternoon with authorities alerting all coastal districts to a tsunami threat after an earthquake measuring 8.7 on the Richter scale