add window scaling