added stuff to hopefully actually disable zoom, and added template var for pageType within window.ctx