It could be due to the water movement-Some of the Long fin males can get stressed and some tolerate it without any issue. Some will tolerate it for months and once they mature a bit more-they can start having problems with it.

IMO/E-as males mature they sometimes will not be very active to start with. Sexually mature males normally don't swim non-stop or in constant movement-unless they have a reason-like in view of another fish-especially another Betta, when they swim around to explore-either looking for food or invaders or at feeding time or when you approach the tank or if something is wrong. This species being a surface dwelling, nest builder that establishes territory-tell us that they shouldn't be in constant movement by nature, however, they should swim about on occasion-just not all the time.

It could be due to the water movement-Some of the Long fin males can get stressed and some tolerate it without any issue. Some will tolerate it for months and once they mature a bit more-they can start having problems with it.

IMO/E-as males mature they sometimes will not be very active to start with. Sexually mature males normally don't swim non-stop or in constant movement-unless they have a reason-like in view of another fish-especially another Betta, when they swim around to explore-either looking for food or invaders or at feeding time or when you approach the tank or if something is wrong. This species being a surface dwelling, nest builder that establishes territory-tell us that they shouldn't be in constant movement by nature, however, they should swim about on occasion-just not all the time.

How did you re-acclimate him to his tank after treatment

I floated him in a baggie like they have at fish stores for about 15 minutes, and then after that went by I cut it open, and slowly added in the cleaned and warm water to the baggie little by little in 15 minute intervals. After about 2 hours I put him back into his tank.

Any idea about the ph of the water? Are his gills swollen or half opened? If so, he may be relying more on his labyrinth, so he's staying at the surface to gasp air.

I don't have a clue about the water ph at all. His gills are fine though, I've been keeping a close eye on him and he's fine aside from weird clamping. he's now started staying at the bottom of his tank instead though...

Mine just started doing the same thing. He swims to the surface and just hangs there for minutes at a time. Then he starts swimming around in circles really fast with his whole head out of the water like he is trying to jump out of the tank. He will swim to the bottom and lay on his side as well. He just started it this morning.