Add support for setting setting fps, start and stop frames to the animation behavior

Fixes #2250