please change these names because, what does velocity mean? and distance in swipe? Thanks

and add some short comment for them