rewrote the nav into its own template and am working on displaying total pages