An idea would be to group together every tab in a container under a “super tab” which title is the name of the container. A possibility would be to switch view between the current one and with “super tabs”.
Or having buttons that allow switching between different containers.
What do you think ?