add event to accordian toggle