animated carousel to display data from json