holy crap, got pagination template to work in multiple places at once