option to override the pagination-template