Implemented swiping