set up locations, pages properly show current page in h1