added page numbers and footers that update with the page