refactors out the usage of 'ui.stickyNavigation' to use appState