Created a basic prototype for horizontal swipe gesture detection.