mvisvitae - Hi!<br /><br />Well, navigation through the IGM (intergalactic medium) certainly involves gravity which certainly involves mass which certainly includes supermassive black holes.<br /><br />However, the motion of Milky Way, for example, along with thousands of other galaxies on a sort of river in space heading towards the Great Attractor(s) also involves mass at a center of gravity at the Great Attractor, along with pertubation by various galaxies' masses in navigation on this 'river.'<br /><br />Will Milky Way end up circling around Andromeda? Current models indicate a merger rather than orbit - and certainly the supermassive black holes at the center of both galaxies are involved in the mass calculations involving speed and trajectory to determine precise computer modeling for all galactic interactions, including the upcoming Milky-Way Anderomeda merger and also whatever two galaxies you are referring to.