Added better layout for datepicker and past dates