added mouse rotation for preview window