Undo/redo rotation implemented