added collapse onclick