Working rotation based on mouse position