width and height now not swapped! :D
using WM_SIZING for window::on_resize