One of my baby betta girls was having swim bladder problems from over eating...
She was actually was hanging in the water tail up, almost vertical! After two day of her not eating and no change, I gave her an epsom salt bath for 20 minutes, to help relieve any possible constipation issue.
The epsom salt solution was mixed as follows: one tablespoon epsom salt to 1 gallon of conditioned water.
I poured a little of the solution into a bowl and floated her in it (in the tank) for the twenty minutes. Her tankmates could see her in there, and all gathered around the bowl to keep her company - sooo cute!
After twenty minutes, I returned her to the tank. The next morning, she all 'betta'!
My understanding is the 'SBD look-alike' in baby bettas is fairly common, because they are so tiny and their too-full tummies press on their swim bladders. Once they grow, they are less prone to it.... notice I said "less prone"... ;)