fix for bug on accordion resulting from Angular refactor