change the number of pages that display