Probably derived from the fact that a traditional London party would have the kind of dancing that involved swinging the knees high up into the air and waving the skirts (if female) above the knees.
Credit: contributed by
This slang has been rated:
Know any British slang that's not in the dictionary?
Send it in
and we'll credit you for ever.