fixed header and footer layout to account for the view