Etymology
Today it means: With a wagging motion. Full definition →
From wagging + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.