Fixes: #1 Simplified requesting of animation frame and progress calculation