'Sloshing' from celestial collisions solves mystery of how galactic clusters stay hot