fix animations in navbar