accordion function

Generates an 'accordion' tab-set