replace didSelectRow with swipe gesture