title: Bootstrap Accordian Column Not Contracting or Expanding
body: <p>I've searched for the answer on here but I can't find anything that answers my question about why the bootstrap accordion is not expanding. For other users it was the ordering of their JavaScript src link in their header and I've checked but that isn't the issue for me. When I click on the accordion header it does not contract but instead jumps to the body of the text (the text is always expanded).
  I want the accordion expansion to be contained within a column on the left side of the layout and for the accordion to be expandable and retractable on a click. I wondered if my JQuery was causing a conflict (I'm using a heightmatch to make the grey column on the right match whatever the column on the left is.) The height match stopped working once I made the column on the left an accordion but I have tried removing the link in the header and it does not appear to have made a difference.<br>
  This is what is looks like:
  <a href="http://i.stack.imgur.com/mFT8j.jpg" rel="nofollow">the layout of the site</a>
  This is my code for the layout:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).ready(function() {
    var height = $('#collapseOne').outerHeight();
    $('#profilePanel').css('height', height + 'px');
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>html,
  body {
    padding: 0;
    margin: 0;
    height: 100%;
  }
  #collapseOne {
    background-color: #d5d5d5;
  }
  .row {
    height: 100%;
  }
  .h1 {
    font-family: 'Montserrat', sans-serif;
  }
  .h3 {
    font-family: 'Montserrat', sans-serif;
  }
  .page-header {
    margin: 0;
    padding: 0;
  }
  .headerone {
    color: #ffffff;
    font-family: 'Oxygen', sans-serif;
    font-size: 3.5em;
    background-color: #000;
    font-weight: bold;
  }
  .panel-footer {
    color: #fff;
    background-color: #0f0f0f;
  }
  .container-fluid {
    padding: 0;
  }
  .main {
    height: 100%;
  }
  .row {
    height: 100%;
  }
  .row #gameInfo {
    padding: 0.8em;
    padding-top: 0.1em;
    background-color: #d5d5d5;
  }
  .row #mainContent {
    background-color: #fff;
  }
  .row #profilePanel {
    padding: 0.8em;
    background-color: #d5d5d5;
    height: 100%;
  }
  #profilePanel img {
    position: relative;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE HTML&gt;
  &lt;html&gt;
  
  &lt;head&gt;
    &lt;link rel="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous" /&gt;
    &lt;link rel='shortcut icon' href='../image/favicon2.png' type='image/png' /&gt;
    &lt;title&gt;GameSetMatch&lt;/title&gt;
    &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"&gt;
    &lt;link rel="stylesheet" href="css/style.css" /&gt;
    &lt;link rel="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous" /&gt;
    &lt;meta name="viewport" content="width = device-width, initial-scale = 1"&gt;
    &lt;link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'&gt;
    &lt;script src="getheight.js"&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
    &lt;div class="container-fluid"&gt;
      &lt;div class="page-header"&gt;
        &lt;div class="headerone"&gt;
          &lt;img src="../image/gamesetmatchlogo2.png" alt="logo" width="150" /&gt;GameSetMatch&lt;/div&gt;
      &lt;/div&gt;
      &lt;main&gt;
        &lt;div class="row"&gt;
          &lt;div class="col-sm-2 col-xs-12"&gt;
            &lt;div id="gameInfo"&gt;
              &lt;div id="accordion" role="tablist" aria-multiselectable="true"&gt;
                &lt;div class="panel panel-default"&gt;
                  &lt;div class="panel-heading" role="tab" id="headingOne"&gt;
                    &lt;h4 class="panel-title"&gt;
                              &lt;a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"&gt;
                                  Collapsible Group Item #1
                              &lt;/a&gt;
                          &lt;/h4&gt;
                  &lt;/div&gt;
                  &lt;div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne"&gt;
                    Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird
                    on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table,
                    raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
                  &lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="col-sm-8 col-xs-12"&gt;
            &lt;div id="mainContent"&gt;
              &lt;p&gt;Main content will be here at a later point&lt;/p&gt;
            &lt;/div&gt;
          &lt;/div&gt;
  
          &lt;div class="col-sm-2 col-xs-12"&gt;
            &lt;div id="profilePanel"&gt;
              &lt;img src="../image/profileicon.png" alt="Profile Icon" width="90" /&gt;
              &lt;h3&gt;User Name&lt;/h3&gt;
              &lt;p&gt;Useremail@gmail.com&lt;/p&gt;
              &lt;p&gt;Number of user victories&lt;/p&gt;
            &lt;/div&gt;
          &lt;/div&gt;
  
        &lt;/div&gt;
      &lt;/main&gt;
    &lt;/div&gt;
    &lt;div class="container-fluid"&gt;
      &lt;footer class="panel-footer"&gt;
        &lt;p&gt;&amp;#169; 2016 Copywright of GameSetMatch&lt;/p&gt;
      &lt;/footer&gt;
    &lt;/div&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>