Fixed navbar behavior for mobile.