Fix 'go to another section while scrolling' bug.