Prefer requestAnimationFrame() over setTimeout() (#1358)
Prefer requestAnimationFrame() over setTimeout() (#1358)

For UI changes that need to delay until the next browser repaint, using
requestAnimationFrame() is preferred over using an arbitrary short time
with setTimeout().

https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame
django-debug-toolbar/django-debug-toolbar,spookylukey/django-debug-toolbar,jazzband/django-debug-toolbar,tim-schilling/django-debug-toolbar,django-debug-toolbar/django-debug-toolbar,jazzband/django-debug-toolbar,tim-schilling/django-debug-toolbar,django-debug-toolbar/django-debug-toolbar,jazzband/django-debug-toolbar,tim-schilling/django-debug-toolbar,spookylukey/django-debug-toolbar,spookylukey/django-debug-toolbar