items list infinite scrool js fix