Add stop animation support

fixes #2560