make swiping work (maybe)