A method to invoke increasing pagination when window scroll gets to the bottom.
$(window).scroll(function(){ var $window = $(this); if($window.scrollTop() == $(document).height() - $window.height()) $('#more').click() });