Added rotate option to 3D