added shade toggle and perspective toggle