Added cell swiping logic.