
if (window.outerWidth {
const currentScroll = (window.scrollY || document.body.scrollTop || document.documentElement.scrollTop)
console.log('scrollY, currentScroll: ', scrollY, currentScroll)
if (scrollY > currentScroll) {
// going up
if (scrollY lowerBound) {
jQuery('.lite-header').addClass('lite-header--hide')
}
}
scrollY = currentScroll
});
}