Hides datepicker when form gets scrolled down