Etymology
Today it means: In a contort manner. Full definition →
From contort + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.