simpler, working, infinite scroll script