refactoring toolbox stuff
adds a method in medTabbedViewContainers