added simple algorithm to get ballspeed after swipe