Added the option to toggle the visibility of tabs and spaces