One of my goldfish keeps floating on his side and I don't know why he is swimming fine but when we stops he leans to the side. The other two I have don't do this, also at night he always sits in the gap between the thermometer and glass of the tank.
I have a 30 litre tank with a filter system that I have 3 goldfish in I cleaned the tank and gravel about a week ago.