const closeScorll = (obj, maxBodyHeight) => {
obj.onmousewheel = (event) => {
if (obj.scrollTop > maxBodyHeight && event.deltaY > 0) {
event.preventDefault();
}
if (obj.scrollTop === 0 && event.deltaY <= 0) {
event.preventDefault();
}
};
};
closeScorll(dom, 985);