(function(){
let scrollingStopped;
document.addEventListener("mousewheel", function() {
clearTimeout(scrollingStopped);
let is_scrolling = true;
scrollingStopped = setTimeout( function() {
is_scrolling = false;
console.log("stopped");
}, 500)
})
})();