Changed how the header resizes in mobile to preserve nav bar