Making player to walk and jump to right