When the logs panel contains a small amount of records, the size of the container is always scrolled to its bottom, so the "infinite scroll" script gets fired over and over again.