fixing demo
direction, 'single' and 'gotoAndStop'
Merge branch 'master' of https://github.com/chsegala/pananimate