debugging swiping