fix header and footer to work with all pages
Merge pull request #249 from accessomat/master

fix header and footer to work with all pages