Fix remote switch for mobile safari