Animal dispersion in relation to social behaviour