looping for carousel complete