To toss about in bed; to roll from side to side because of restlessness or an inability to sleep. Often appears as part of the phrase 辗转反侧zhǎnzhuǎnfǎncè.
capricious
(literary) To behave in an unstable or unpredictable manner; to be fickle or inconsistent.
to rebel
(archaic) To go against the law or defy authority; to be rebellious.