Fix html5 date picker centering in task form and adjust page resize behavior