Added the animation attribute to datepicker