Videos showed several mosques toppling during the quake, and people fleeing from the areas