taitems toggleswitch converted to AMD-compliant widget