reposition city on window resize