var lastExecution;
document.addEventListener('wheel', function(e) {
var now = Date.now();
if (now - lastExecution < 1000) return;
lastExecution = now;
if (e.deltaX < 0) { // left
$(".prev").click();
} else if (e.deltaX > 0) { // right
$(".next").click();
}
}, false);