added a toggle to hide class attributes