Added mouse rotate functionality.