move pagination to partial,

update references to pagination