Scroll up or down Interactions trigger

We need a trigger to detect when the page is scrolled up or down and execute an action for each case.

It would be an easy way for showing or hiding the menu depending on the direction of the scroll similar to what Google does in this site:

  • Kyle Fs
  • Dec 19 2018
  • Already exists