refactored accordion
added config options to accordion
improved toggle method to hide content if already showing