handle swipe in inactivity