Added requestAnimationFrame and touch support

Rendering will be done in sync with the view and added touch support,
currently only touchstart, touchmove and touchend is supported (event
will only be fired for one touchpoint each, index will be the
touchpoint)