legend and map div fix