set bounds on map if it exists