JQuery Get Document Scrolltop
var top = ($(window).scrollTop() || $("body").scrollTop());
Agreeable Addax
var top = ($(window).scrollTop() || $("body").scrollTop());