use classes to hide the preview and / or console panels