At last; a functioning swipe direction tracking mechanism