Think of it like this maybe, the plane is losing altitude while gliding - at the same rate as the air around it is moving upwards.
Note that the plane is not horizontal, it's always tilted a few degrees down to maintain it's position. If you raise the nose, the wind will blow your plane backwards.