animationFrame-based animation now works on setCurrentPage...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>