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