changed demo api carousel to slider mode