Add the mouse rotation control, Not perfect. Modifed some code lines