Switches normal pagination with infinite scroll