easing navbar movement, fixing transitions