Code changes for populating carousel images on-clicking bar graph