Swiping the board is more accurate

onScroll is now used instead of onFling. This should improve the
accuracy of detecting the direction of the swipe.