How does it know you clicked the collapse button? are you using the “toggle element” or a state?