changed the code so pushing space won't set the "idle" variable to 0 for ever. (releasing space sets it to 1 again)