title: Laravel backpack dropdown menu issue
body: <p>I have created a drop down menu with some links. It works correctly on desktop but on mobile there is a strange issue. When I expand the menu, it doesn't push down the other menu below it. However if I reload the page once it does! In other words when I open a page once it doesn't push it down and when I refresh it it does. If I then try refresh it a second time then the issue is back and so on.
  Check the photos for the exact issue:</p>
  
  <p><a href="https://i.stack.imgur.com/OTeqD.png" rel="nofollow noreferrer">Issue is shown</a></p>
  
  <p><a href="https://i.stack.imgur.com/xCCqj.png" rel="nofollow noreferrer">No issue</a></p>
  
  <p>And here is the relevant (To my understanding) code:</p>
  
  <pre><code>&lt;!-- This file is used to store sidebar items, starting with Backpack\Base 0.9.0 --&gt;
  &lt;li&gt;&lt;a href="{{ backpack_url('dashboard') }}"&gt;&lt;i class="fa fa-dashboard"&gt;&lt;/i&gt;&lt;span&gt;{{ trans('backpack::base.dashboard') }}&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  @if (Auth::user()-&gt;admin) 
  &lt;!-- @if(isset($company) &amp;&amp; !Auth::user()-&gt;admin)
  &lt;li class="treeview active menu-open"&gt;
  @else --&gt;
  &lt;li class="treeview"&gt;
  &lt;!-- @endif --&gt;
      &lt;a href="#"&gt;
      &lt;i class="fa fa-building"&gt;&lt;/i&gt;
      &lt;span&gt;Välj ett företag&lt;/span&gt;
      &lt;span class="pull-right-container"&gt;
          &lt;i class="fa fa-angle-left pull-right"&gt;&lt;/i&gt;
      &lt;/span&gt;
      &lt;/a&gt;   
          &lt;ul class="treeview-menu"&gt;    
          @foreach($allCompanies as $singleCompany)
    &lt;!--       @if(isset($company) &amp;&amp; $singleCompany-&gt;id == $company-&gt;id)
              &lt;li class="active"&gt;
          @else --&gt;
              &lt;li&gt;
         &lt;!--  @endif --&gt;
                  &lt;a href="/company/{{ $singleCompany-&gt;id }}"&gt;{{ $singleCompany-&gt;name }}&lt;/a&gt;
              &lt;/li&gt;
          @endforeach
          &lt;/ul&gt;    
  &lt;/li&gt;
  @endif
  &lt;!-- @if (Request::is('cp/*'))
  &lt;li class="treeview active"&gt;
  @else --&gt;
  &lt;li class="treeview"&gt;
  &lt;!-- @endif --&gt;
      &lt;a href="#"&gt;
      &lt;i class="fa fa-building"&gt;&lt;/i&gt;
      &lt;span&gt;Kontrollpanelen&lt;/span&gt;
      &lt;span class="pull-right-container"&gt;
          &lt;i class="fa fa-angle-left pull-right"&gt;&lt;/i&gt;
      &lt;/span&gt;
      &lt;/a&gt;
      &lt;ul class="treeview-menu"&gt;
          @if (Auth::user()-&gt;admin) 
           &lt;!--    @if (Request::is('cp/addcompanyview'))           
              &lt;li class="active"&gt;
              @else --&gt;
              &lt;li&gt;
              &lt;!-- @endif  --&gt;               
              &lt;a class="btn btn-primary btn-block" href="/cp/addcompanyview" role="button"&gt;
                  Lägg till företag
                  &lt;/a&gt;
              &lt;/li&gt;
       &lt;!--        @if (Request::is('cp/adduserview'))           
              &lt;li class="active"&gt;
              @else --&gt;
              &lt;li&gt;
             &lt;!--  @endif  --&gt; 
              &lt;a class="btn btn-primary btn-block" href="/cp/adduserview" role="button"&gt;
                  Lägg till handläggare
              &lt;/a&gt;&lt;/li&gt;
          &lt;!--     @if (Request::is('cp/user/*') || Request::is('cp/user'))           
              &lt;li class="active"&gt;
              @else --&gt;
              &lt;li&gt;
             &lt;!--  @endif  --&gt; 
              &lt;a class="btn btn-primary btn-block" href="/cp/user" role="button"&gt;
                  Hantera handläggare
              &lt;/a&gt;&lt;/li&gt;
      &lt;!--         @if (Request::is('cp/managecompaniesview'))           
              &lt;li class="active"&gt;
              @else --&gt;
              &lt;li&gt;
              &lt;!-- @endif   --&gt;
              &lt;a class="btn btn-primary btn-block" href="/cp/managecompaniesview" role="button"&gt;
                  Hantera företag
              &lt;/a&gt;&lt;/li&gt;        
          &lt;!-- @endif --&gt;
    &lt;!--       @if (Request::is('cp/manageclientsview'))           
          &lt;li class="active"&gt;
          @else  --&gt;
          &lt;li&gt;
       &lt;!--    @endif  --&gt; 
          &lt;a class="btn btn-primary btn-block" href="/cp/manageclientsview" role="button"&gt;
                Hantera kunder
          &lt;/a&gt;&lt;/li&gt;   
      &lt;/ul&gt;
  &lt;/li&gt;
  @if (Auth::user()-&gt;admin)    
  &lt;li&gt;&lt;a href="{{ url(config('backpack.base.route_prefix', '').'/backup') }}"&gt;&lt;i class="fa fa-hdd-o"&gt;&lt;/i&gt; &lt;span&gt;Backups&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  @endif
  </code></pre>