headstanding with no other clinical signs point to Edwardsiella tarda an internal bacteria.
any anti-bacterial medication should cure it, however if the problem is advanced then it is likly to have little or no effect. If you can get a medicated food, and get him to eat it, that will help more.
HTH