added debouncing for touchscreen driver