Automatically instanciate accordions in details

if the detail element has the accordion class