add map.resize() to make map responsive