<template name="tabContent">
    <div role="tabpanel" class="tab-pane {{active}}" id="{{contentid}}">
        {{>loadingText}}
        <div class="viewerContainer">
            <!-- This extra viewerContainer div only exists to be destroyed when switching tabs.
            It is a workaround because Meteor's onDestroyed and destruction handlers don't fire
            when removing the actual template from the DOM.-->
        </div>
    </div>
</template>