adding collapse for master expand button