first and last
generate a good range of numbers in paginator with cutoffs