Giden,
$(function ()
{var first = jQuery(window).scrollTop();
jQuery(window).scroll(function ()
{
console.log(isTop());
}
);
function isTop() {
var rez = false;
if (first > jQuery(window).scrollTop()) {
rez = true;
}
first = jQuery(window).scrollTop();
return rez;
}
}
)