min max for page numbers