add horizontal pan gesture recognizer
add vertical pan gesture recognizer