added gesture recognizer methods