You only need to check simple things:
- forward movement: left arm then right arm
- backward movement: right arm then left arm
- to the left movement: right arm then left arm
- to the right movement: left arm then right arm
Now you can see the problem. To the left movement is ok with backword movement, but not ok with forward movement. The same goes for To the right movement