Sort:  

The expansion certainly has some effect on the position of a galaxy in space, but the galaxies themselves are moving through space as well. In fact, the Milky Way galaxy is moving towards a region in space known as "The Great Attractor" which is a huge concentration of galaxies that has enough gravity to attract nearby galaxies.