Improved datepicker's appearance

Fixed previous PR (#402) to be as simple as possible without any unnecessary development changes.