more debugging on swiping