fixed the problem with the header and footer extending beyond the browser window