Fixed the infinite scroll top bug