Improvements to ToggleSwitch

+ some style clean up.
Merge pull request #30 from simurai/toggle-switch

Improvements to ToggleSwitch