fixes carousel bug that data-* attributes are not evaluated