restore the navigation panel's state on reload