t i t s up

Can anyone tell me when the phrase 'It's all gone t i t s up!' originated?

Maybe from "belly up"? As in a dead fish.