implement proper touchpad toggle