update bug in animation style for the flex slide