Patched litepager for infinite scroll.  #2680

Off by one error kept litepager from realizing it was on the last page.  It produced a next link which infinite scroll kept clicking, even though it loaded content that had already been loaded.

#2680