Which sentence uses the underlined word correctly?

A.
The geese in the river swam together between the cattails.

B.
The geese in the river swam together among the cattails.