Fixed jumping sound algorithm so that it only produces a sound when player presses the UP arrow key.