Remove a few white space related code warnings
[#57854314] Correct the expand/collapse functionality. The contol using
data attributes only triggered parent accordion collapse events too, so
switch over to javascript controlled toggles
[#57854314] clean up unused code