Adding handleSwipeGesture boolean to allow capacity to handle (or-not) the swipe gesture