Problem with stepper motor

i am trying to use two stepper motors , but my stepper (28byj-48) is not supported by arduino default lib so i have to use the non-lib way but i am finding some problem with this code everything works until i put the idel function , it is supposed to change te pins of the stepper , and it does but the stepper doesn't work

The AccelStepper library is much more capable than the standard stepper library and can operate two or more motors at the same time.

By the way the standard Stepper library will work with a 28BYJ stepper motor - but it would be a poor choice if you want to run more than one motor.

...R