Fixed navbar behaviour.