I\'m trying to add an active state to my nav items when a section is in the viewport. I\'m working on a project and was advised that I needed to fetch the list of all sectio