Added iOS-like switches. Thanks to Lea Verou for the base idea that I modified.