Moved the pager html to seperate templates

pushed it to new branch this should be easier