working on homepage. fixing infinite scroll