Some MPs have divided the internet after they were filmed dancing in parliament even as the crisis in the Middle East rages.