Add 'touchstart' to the closing action

To support mobile devices like iPad add 'touchstart' next to 'mousedown' to close the datepicker if a user touches somewhere in the document.