add support for swiping next