Expanding number of pages