I was going to say the nitrites are probably why they are swimming to the surface.any nitrite means 50% water change asap. I'm saying this from experience.
Going off my own cories, they stay near the bottom. The only time they venture up, is when they are right next to the decor I have. Hardly any free swimming.