cap over the windmill

Etymology
Derived from.

Adverb

 * 1)  in a bizarre or eccentric manner