My roommate's beardie did the exact same thing too! He waddled/swam around for a few laps around the sink, then just closed his eyes, puffed up, and floated for a minute or two. Took him out, put him back on his branch in the tank and he was just fine.
He didn't sink to the bottom though...