feat(datepicker): restore position calculation