Head stabilization strategy in presence of floor rotations on horizontal plane