They often travel great distances through the forests, except when lingering around their nesting colony.
The sentence describes a pattern of behavior where these creatures travel extensively in forests, but they tend to remain close to their nesting area.