Organized Animation Code and Added Text Color

Organized Animation Code and added feature where textColor changes when DatePicker is expanded.