add the option that user can set the speed of animate
add introduce of the speed option