Here is why it's offside :
He moves his legs to allow the ball to go in.If he does not move his legs the ball does not go in.
Therefore his state before movement is a state of interference.
Interference does not only mean "changing the trajectory of the ball to so that it goes into the goal".