Dynamics of the Middle Atmosphere