datepicker added to the right controller