That sounds like a temperature issue to me. It's common that if they get cold they will slow down and curl up and have a nap. They can recover and warm up pretty quickly though. It's good to use a timer for the lights so they are on a set cycle. If you provide time outside of the tank it's a good idea to use a clamp lamp to make a portable basking spot he can return to if he gets cold.