added the horizontal gesture recognizer