[datepicker] Move calendar after input field

This should ensure the calendar appears at the correct location regardless
of surounding markup.
Merge pull request #1647 from berubs/issue1627-2

[datepicker] Move calendar after input field