how to stop hair tangling while sleepings