toggle class to expand tabs for ease in use

also dried up code by deleting commented out portions