corrected rotation on arrow keys