make navigation highlightling follow page scrolling correctly