swipe detection

ongoing fixes