Fix infinite scroll on custom domains