There is nothing wrong with the fish's swim bladder. It is having a seizure caused by something affecting the brain.
Do a big water change, gravel clean, clean filter and do it now. then get some salt or medication in there otherwise you can lose the lot.
Do a big water change, gravel clean, clean filter and do it now. then get some salt or medication in there otherwise you can lose the lot.