beforePagination callback into navigator plugin