The rotation of the solar atmosphere