work with mouse rotation