Watch only container element animation #13

Use onAnimationStart and onAnimationEnd only if the target event is the
container element, and not a parent(like window.requestAnimationFrame).
Merge pull request #14 from LuminusDev/fixAnimation

Watch only container element animation #13