fix backward swiping