cleanup and swiping