Scroll-up and scroll-down trigger at the same time on page load

Hi I followed the instructions of

and I got the fixed navbar to show/hide on page scroll up/down, but it triggers both animations initially on page load. What did I do wrong?

[1]: link)
[2]: Webflow - page-scroll-interactions (read-only link)

I figured out the bug:
I had not followed the directions EXACTLY:

in the “Menu Show” animation, I had added an initial state of y=-50px going to a final y=0
the tutorial only asked to set the final y to 0 (without the “initial” y=-50px, as my brain assumed i should do JUST like the “Menu Hide”, where the animation of y goes from 0 to -50px)