moved the pager html to seperate templates