add window resize, otherwise this does not show up