Corrected bug where infinite scroll loaded only one page