Changed the structure of the accordion plugin.