reformatted code to implement player movement upon fling
Merge remote-tracking branch 'origin/master'