Pur js scrolltop ()

// Get scrolled pixels
var  intElemScrollTop = someElement.scrollTop; // document.documentElement.scrollTop;
Fair Ferret