Fix header bar layout on small screens