resizes html image maps when the image size changes