Adjust header and footer to scale