groundwork for swipe actions