Added support in UndoRedoController for shifting rows.