Infinite scroll stops working after 1 "refresh"