Implemented unbind events on collapse.