move disabling of gesture recognizer