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.

It may be desirable to have this as a configurable option, but for now I kept the change as simple as possible while giving the user a much-improved experience.

This is a pull request for issue #203.