Don't create the map until after the div for it is made visible