refactored pogo and player
better bounce easing function