found a better way to address bootstrap carousel issue.