Redo functionality implemented and tested for drag commands.