Handle Right-Left, Up-Down gestures in one class.