Update window on orientation or dimension change