JS mendeteksi gulir

window.onscroll = function (e) {  
// called when the window is scrolled.  
} 
Borma