Add support for swiping