added transition effect on navbar