TIMOB-16204: Null check on gestureDetector when touch is not enabled.
Merge pull request #5240 from ayeung/timob-16204

TIMOB-16204: Null check on gestureDetector when touch is not enabled.