added an animation options object and scaling animation