room control, detect window width