Allow the toggling of treemap