make toggle_mouse work with multiple mice