Added properties to set animation transition