add effect for infinite scroll