adjusts easing function in css transition for nav