Callback for swipe events
typedef SwipeCallback = void Function( int distX, int distY, double speedMMPerSec);