I'm at the part in wawku shrine where you have to stop the wheels lined up in a certain order. I can get the first one but i slash the lever for the second and it doesn't work. Is there some secret to getting it or do they all have to be lined up when you slash it, is there any way to stop the wheels from coming back and turning again?

Please help i can't get past this.