added clickable undo/redo buttons.