Edges of galaxies