though this implementation is a little gimped- rotating to the correct of the three possible states (on,off,nil) often requires two clicks, but a doubleclick is no good..