My cories do some weird things... Sometimes they'll lie on their sides and I'll think they're dead but once I come close to the tank they're right back up again. I've never had one just float to the top of the tank like that, that does sound strange. Could be water quality or not enough food? What are you feeding them?