add requestAnimFrame and view update calls.