arkadaşlar mouse göre kayan sayfa javascripti var elimde ama çok hızlı hareket ediyor mouse göre. buna nasıl hız değeri ekleyebiliriz.

Alıntı
<script>
// Variables for current position
var x, y;


function handleMouse(e) {
// Verify that x and y already have some value
if (x && y) {
// Scroll window by difference between current and previous positions
window.scrollBy(e.clientX - x, e.clientY - y) ;

}

// Store current position
x = e.clientX;
y = e.clientY;
}

// Assign handleMouse to mouse movement events
document.onmousemove = handleMouse;

</script>