divided pager template to two files for more flexibility styling