fix reset when reloading infinite scroll element