commit swipe detection

commit swipe detection for more smooth