Modifying header and footer scaling for mobile.