added: refresh on window resize