Hack that repositions popup calendar

Conditionally-loaded jQuery code that moves the popup so its
closer below the input.

Addresses #3552