last changes in gesturedetector