Tweak header to make it more compact on mobile devices.