reformatted code and added drug and drop

reformatted code
added drug and drop to the date range picker
fixed showing today

fixed showing today function