Improved the collapsing menu experience for mobiles.

The navbar can now scroll when it cannot fit into the viewport
instead of being hidden after clipped by the viewport dimensions.