I\'ve got the accordion working fine on pageload, however upon user interaction with some elements on the page, I am using ajax to rebuild the HTML of the accordion. Then, I
Destroy the accordian before repopulating it with data.
$('#accordion').accordion('destroy');