Refactor hidableClass in layer.renderToolbox