adding rotate windows