add gesture recognizer to popupView