change in the viewer to load all the pages at once