add swiping support