functions next and restart to simplify animation
ver 1.2.1
Merge pull request #11 from codexico/1.2.1

1.2.1