easing transition for the nav bar