implemented accordian expand and min