fixed history carousel bug