Moving menu or docked window to shown and hide

I made a “process” of timers and buttons to perform a width modification value. I made a binding to the width of a rectangle and it moves smoothly. However when I tried to group components with the rectangle and I even “convert to container” but the only thing that is changing it’s width is the rectangle itself.
My idea is to simulate a moving docked window that can hide and show with a button, this docked window should move and hold elements inside it.
Any idea or advice??
Everything would be solved id width property of a docked window handle bindings