[Solved] Sticky Header on Desktop

Dear Pie Community,

I wonder if it is possible to have a sticky header on desktop controlled by scrolling?

Scrolling up to have header drops down.

Scrolling down to have header to shrink.


I tried using $touchvelocityY but it requires pressing instead of scrolling triggered.