Fix inline datepicker oddities on L

Retry #14 to master, closes #13