My beardie does the same thing, he sleeps in one of those little green mesh hammocks but still props himself up against the glass.