Added animation speed option.

Now user can set the speed that the animation plays at.