Safe navigation on scrolling