keep last widow state when swap to full screen