Geared for Landing
From the Super Mario Wiki
The player must open the gates for the plane(s) to get through. To do this, the player should rotate the Wii Remote clockwise to open the top gate and counterclockwise to open the bottom gate. Sometimes this will reverse. Also, in the later levels a plane may emerge and then turn back.