How do you make the plane tilt only by pressing the up and down arrows?

Also please post code correctly next time: Using code tags properly