Navigation state changes when user scrolls