improved styling & functionality of accordion