toggleSwitch uses pointer cursor