added delay for infinite scroll