Added undo move functionality to the tiles.