reverted changes in GEstureDetector