added debug alert on swipe