datepicker esc and enter close and datepicker reposition left on resize and show