Not sure if this will work on or not but worth a try.
You may want to put your scroll function in an if then statement.
If the user is in scroll mode….use the scroll function. If the user jumps…exit scroll mode and jump and then reset the varialbe to go back to scroll mode. Might work…not sure. But watching this thread for other solutions.
Thanks for the suggestion! The problem I see with this implementation is that once we switch back to scroll mode, it will jump back to where it was before it jumped. I don’t see a way to update the scrollY variable to act as if it was scrolled to the portion that was jumped to.