limit number of pages in paginator, show links to first/last pages