Hazrat Hakam says that during prayer in a boat, one should keep turning towards the Qibla as the boat turns.