add support for swiping, first pass