Trigger an event when passing from isDown to isUp directly

Hi @JeremiePat!

I found a bug when a user scrolls from isDown to isUp directly, without passing to isIn.
For example, this case happens when the page is scrolled to the top with an empty anchor.

Cheers,
Thomas.