Limit the amount of pages the paginator should show