datepicking done for #77
some style fixing on #77