what causes involuntary stretching during sleep