Automatic resolution switching