updated touchDist to touchDistance