Set section_behavior when rendering accordion

This needs to be set when render accordions in addition to tabs.
Otherwise, an accordion inside a tab will still have
section_behavior=tabs.