dynamic sizing bug fixed
resize bug with g map