[BUG #8479] Improve the startup of the website API viewer by postponing some actions to a later moment.

- Improved the rendering of the content at right pane by adding the DOM nodes at last
- using requestAnimationFrame to better control the moment when to start rendering, adding samples, etc.
- highlighting of the code is now done during scrolling and only for the then visible samples