removing infinite scroll code