Changed main navigation behaviour.