fixing datepicker expansion