Fixes change to accordion api from jquery-ui

Looks like there was a change to the accordion api. Some of the events have been removed, and in particular, accordionchange. This is now accordionactivate.