re-invent toggleSwitch to be CSS based