How to make it so when I click a button, the contents within the button just slide out instead of actually going into the button folder?

I wanna make it so a when I click a button, the contents inside the button just slide out of it and then if you click the button again the contents disappear, instead of going into the button folder itself. Thanks!

You can do this through careful alignment in the contents of the group. A bit tedious but it works well.