The collapsed class on accordion now gets added when menu really is collapsed and not on click. Collapsed and expanded classes can now be changed via options.