Align datepicker to input box in component mode

To increase the connection between the field that the datepicker is modifying, it makes sense to have the datepicker aligned with the input field, rather than the button.

This is a pull request for issue #203
Merge pull request #357 from cdeszaq/patch-2

Align datepicker to input box in component mode