Dynamically change the section while scrolling