I read somewhere that it could be constipation as well, but it was referring to goldfish, but still effect other fish.
Here are a couple of things that are recommended you do once you discover swim bladder:
# Feed your fish a couple of peas. That's right, peas. Just get some frozen peas, thaw them, and feed them to your fish. A professor of fish medicine at N.C. State College of Veterinary Medicine has done this in several cases with very good results. He thinks that the peas somehow encourage destruction of the impaction. No hard scientific data yet, but it's worth a try.
# Fast your fish for a couple of days. Withhold all food for three or four days, and sometimes this alone will break up the impaction and return things to normal. Most fish can go a week to ten days without food and be just fine.
Or even to prevent it, for the future.
What can I do to prevent swim bladder disease?
1. As always, the golden rule of fish disease is WATER QUALITY. If swim bladder disease does have an infectious cause, your fish will be better able to resist this infection (and others) if your water quality is good. Regular water changes and water testing are a must.
2. Pre-soak your flake or pelleted food. This will allow expansion to occur prior to the fish eating it, and will lessen the chance of impaction.
3. Even better, switch to a gel-based food or other food source, i.e. frozen or live food.
I have heard that some pre soak their foods in Pepso, and feed this to the fish. You might want to quarntine her aquarntinetry that?