The Milky Way wasn't always a spiral  —and astronomers may finally know why it 'shape-shifted'