Fixed header and footer scaling for mobile.