Gold fish sleeping upside down?

we have a fan tail goldfish ever since we got it about 2 weeks ago it sometime sits in one place upside down looking at you if you put some food in the tank off it gos and feeds and act completely normal then a few hour or more later it does the same thing the fish looks healthy and shiney with no fin rot any ideas
21 answers 21