finish the index.html(auto slide)