Moving in and Out: Dispersion of Cells in Self-Generated Gradients