ok it seems like im not being clear enough. let me try to give all the details.
so the goldfish seems to be pulled up. he doesnt seem to have any sevier swimming problems however he does seem to get pulled up. When he tryes to swim down, he ends up getting flipped over cause of that upward pull. But he quicly gets himself right side up. And when hes not swimming hes just resting at the top and when hes doing that, he tends to tilt a bit to the side, however he never turns over completely.
now, this happens only when i feed him flakes. he has been like this ever since i bought him, so about two weeks ago i went to the fish store and asked them what my problem was and how could i fix it. what they suggested was to dip the flakes into the water and feed the fish much less. So thats what ive been doing, but it didnt seem to help. so i read up on the internet that not feeding the fish for a while will get them healthy again, so i didnt feed him at all for 2 days, and to my surprise, he was capable of swimming for the first time. but then i started to feed him again, by dipping the flakes so they would fall to the bottom of the aquarium, and only about 2 small pinches, however right after that (about 30 mins later) he would start floating up to the top again. So then i looked up on the internet on Swim Bladder desease and read that feeding them Pease is another good solution, so thats what i did for about 5 days in a row, during which he was completely healthy and could swim better than ever before (even better than the others actually). But pease got really messy, my aquarium got really foggy in those 5 days, so i changed the water and started feeding them Flakes again. And obviously he started to experience the same problem, however this time he only had the problem for about half a day and then he could swim again.
So it seems that after the flakes are fully digested out of his system, then he can swim once again.
So any advice i would greatly appreciate it, and thanks for ur time!