Fix header and footer in media query