easing animation of nav menu.