quick and ugly hack to support mouse-based rotations.