adding auto zoom to fit the bounds