difficult to set swipe gesture bu all works