Maybe I was thinking of "going off the rails" but then I think that means something going terribly wrong. I'm a great one for mixing up stock phrases - not that I can think of any particularly salient examples at the moment but.