prepare for infinite scroll