pull panel code from django-debug-toolbar