added abilty to stop running and jumping by arrow keys