Replace the modified pagination plugin with a cleaner one that supports bootstrap natively
<a data-toggle="collapse" href="#backtrace-crashing-thread"><h3>Crashing thread top frames</h3></a>
<div id="backtrace-crashing-thread" class="collapse in">
%= include 'report/backtrace/frames', thread => $crashing_thread
</div>
<a data-toggle="collapse" href="#backtrace-all-threads"><h3>All threads</h3></a>
<div id="backtrace-all-threads" class="collapse in">
% my $thread_id = 0;
% foreach my $thread(@$threads) {
%= t a => ( 'data-toggle' => "collapse", href => "#backtrace-thread-$thread_id" ) => begin
%= t h4 => "Thread $thread_id"
% end
%= t div => ( id => "backtrace-thread-$thread_id", class => "collapse in" ) => begin
%= include 'report/backtrace/frames', thread => $thread
% $thread_id = $thread_id + 1;
% end
% }
</div>