Improved Viewer Options Support in Gesture Handling

Apply constrainDuringPan option in flick and drag gesture handling.
Apply panHorizontal and panVertical options in flick and pinch gesture
handling.
Merge pull request #399 from msalsbery/constrain-during-pan

Improved Viewer Options Support in Gesture Handling