I am trying to implement a "display # items per a page" filter. But when for example 200 is chosen per a page and the total number of items is 110 then the navigation is display "page 1 2 3 4 5 6" which shouldn't be since all the items can fit on one page. When a user clicks on the pages they are of course, empty. Please help me deter getPage from displaying the pages if they can all fit on one or two pages.
screenshots: