Dynamics of the roof Motion