add remap for resize windows