Making datepicker with touch devices support
Reverted previous crappy commit