finally fixed gesture detector