fix: datepicker now correctly repositioned when out of window