Genericized a touch interaction library