Added 3d Rotation and movement