Added the possibility to rotate over the vertical axis