changes for swiping to work