redoing rotating by mouse