SMS: Why do galactic spins flip in the cosmic web? A Theory of Tidal Torques near saddles