Fix navbar transition.