added the possibility to rotate camera