Updated DatePicker control.
Added check for inline type of datepicker control.
Added datepicker destroy and recreation menthods on calendar icon click.