Updated anim method to work consistently with the global time function

The time dimension of the returned View now respects the settings of the
global time function (unless explicitly overridden). Instead of
specifying the animation length in frames, it is now specified in the
appropriate time units.