handled 'animated' parameter in SetOn() in CCControlSwitch

animages parameter was not handled in SetOn() in CCControlSwitch. Here is a fix for this