Mine does that all the time. They do it in the wild too. It's just to see whats out there, and if any big predetors come by (say me, or you), they shoot back into their hides in order not to be seen.

It's normal behavior, don't worry.