fixed swiping (hopefully)