Added touch event handler for hiding timepicker on iOS devices

Mousedown doesn't work on iOS devices, so I've added just two event handlers to the ones you had.