Improve touchpad toggling.