Fix inline datepicker oddities on L

Retry #14 to master, closes #13
Merge pull request #18 from saercnap/patch-3

Fix inline datepicker oddities on L