steppermotor only few steps

Hi,

the program works as followed:

  • Motor is turning left, unlimited
  • Button pressed than the motor is turning right unlimited.

hope someone can give me some more hints