added events to trigger on expand and collapse, on list and list item