Wait for the pagelist to be replaced before removing .index-loading.