adds pageViewKnownPathnames, refactors pageView