Dynamic positioning of ships door