change to animation of toggleswitchbutton

reference the transition directly instead of iterating through the properties

XAML generates an error if not already compiled

same problem as this:

http://stackoverflow.com/questions/13168740/unknown-property-does-not-point-to-a-dependencyobject-in-path-0-13-2/15106546#15106546