Added Undo/Redo for moving items