enable switch using mouse