adjusting masthead and footer