changed the rotation behaviour