How to make SideBar tools update to the active Ribbon tab?

With the side toolbar+command thing closed.
How to get the updating side toolbar? [that changes according to the active ribbon tab.]

I put the Main in there, but it does’t change with the ribbon tabs…

thanks a lot
Akash