I have 50 divs,But in my window it shows only 25,I do drag and drop activity on these divs.So If i drag my first div near 25th div,It should scroll automatically to show the
If you want to know bottom of window you can check
$(window).height()
and $(window).scrollTop();
$(window).scrollTop()