how does the universe's expansion affect galaxies