fixed momentum bug when the hero hits the top of the screen