trying to added animate for nav bar.