Moved header and footer heights into variables.