Navigation Link

Hello everyone, I'm back with some Protopie assistance. I've designed a navigation header where tapping on each link takes you to a corresponding section on the page using a "tap" trigger and a "scroll" response. Additionally, I've implemented a feature where scrolling on each section without tapping the navigation highlights the corresponding link in reverse. I achieved this using the "Range" trigger and applying the same move response to the line indicator.

However, I'm encountering an issue. When I tap on a navigation link, it seems like the line wants to move to the second link before reaching the desired link. I suspect there might be a conflict between the "Range" trigger and the "Scroll" response I added.

To help you understand the situation better, I've attached the pie file. Any assistance or insights would be greatly appreciated. Thank you!

Nav Link.pienav header.mp4