Navigation behaviour depends on scroll position