Custom infinite scroll by Vaijayanthi (v1.0)