autoplay for carousel was added.