Fix some glitches with collapsing
Fix some glitches with collapsing

Regarldess if the element was already collapsed/expanded, the component would try to expand./collapse.

mrkirby153/KirBotPanel,mrkirby153/KirBotPanel,mrkirby153/KirBotPanel,mrkirby153/KirBotPanel