Log Window Scrollpostion

$(window).on('scroll', function() {
    console.log( $(this).scrollTop() );
});
Panicky Pig