Move infinite scroll to using the plugin