call marker update on window resize to maintain aspect ratio