Fix header UI for smaller viewports