resize map popups to match content