update toggle.mm to follow the coding style

(did we ever release this?!)