add correct keyboard handler for rotating