changed the way the header works on mobile