update styles and animations, hide tools on undo click