added undo and redo buttons
style for p elements