More than likely he was readjusting his jaw, or yawning. It's common for them to do, it's just his way of stretching.

He would have struck at you and remained highly agitate if he was acting defensivly.

You can cover most of the tanks screen lid with either foil or plexi glass to hold humidity up to 65% for shedding. Just mist once or twice a day and your all set.