Idea here is to show the same as if you clicked the hide button. Same functionality.

I was also exploring ways to make them the same code, but couldn't do it yet. I may still.

So if I dragged it to the smallest size, it would toggle the little hide button. If you clicked the hide button again, it would go back to the size it was before the last drag.