added the transition to the nav bar