page navigator refactored pt.1