use $(window).resize to resize the maps