fixing frame rate for videos
cleaner support for animation