.disable-hover {
pointer-events: none;
}
let timer;
window.addEventListener('scroll', () => {
clearTimeout(timer);
if (!document.body.classList.contains('disable-hover')) {
document.body.classList.add('disable-hover')
}
timer = setTimeout(() => {
body.classList.remove('disable-hover')
}, 500);
}, false);