title: Intel XDK side panel scrolls only if long enough at initalization
body: <p>I'm using the app mobile framework and think I've found a bug regarding the scrollbar. If the side panel is long enough to scroll at initialization, I can scroll after rotation. However, if the app starts in portrait mode (no scroll required) and then I rotate to landscape, then there is no scrollbar. Here's the relevant code below. Right now I have a bunch of "hello's" so that the scrollbar is always there. How to get it to scroll without them?</p>
  
  <pre><code>&lt;div class="inner-element uib_w_21 uib_sidebar rightbar bar-bg" data-uib="layout/right_sidebar" data-ver="0" data-anim="{'style':'overlap', 'v':200, 'side':'right'}" id="rightPanel"&gt;
      &lt;div class="sidebar-content"&gt;
  
          &lt;div class="grid grid-pad urow uib_row_12 row-height-12" data-uib="layout/row" data-ver="0"&gt;
              &lt;div class="col uib_col_13 col-0_12-12" data-uib="layout/col" data-ver="0"&gt;
                  &lt;div class="widget-container content-area vertical-col"&gt;
  
                      &lt;div class="widget uib_w_22 d-margins" data-uib="media/text" data-ver="0"&gt;
                          &lt;div class="widget-container left-receptacle"&gt;&lt;/div&gt;
                          &lt;div class="widget-container right-receptacle"&gt;&lt;/div&gt;
                          &lt;div&gt;
                              &lt;p&gt;Settings:&lt;/p&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;&lt;span class="uib_shim"&gt;&lt;/span&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;span class="uib_shim"&gt;&lt;/span&gt;
          &lt;/div&gt;
  
          &lt;div class="grid grid-pad urow uib_row_13 row-height-13" data-uib="layout/row" data-ver="0"&gt;
              &lt;div class="col uib_col_14 col-0_12-12" data-uib="layout/col" data-ver="0"&gt;
                  &lt;div class="widget-container content-area vertical-col"&gt;
  
                      &lt;div class="widget uib_w_23 d-margins" data-uib="media/text" data-ver="0"&gt;
                          &lt;div class="widget-container left-receptacle"&gt;&lt;/div&gt;
                          &lt;div class="widget-container right-receptacle"&gt;&lt;/div&gt;
                          &lt;div id=rightpanel_container style="overflow-y:scroll"&gt;
                              &lt;p&gt; hello there! hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!&lt;/p&gt;
                              &lt;div&gt;
                                  &lt;div class="widget-container content-area vertical-col"&gt;
                                      &lt;label for="startdate"&gt;Start Date:&lt;/label&gt;
                                      &lt;input type="date" name="startdate" id="startdate" value="2014-02-01" class="jq-ui-forms"&gt;
                                      &lt;span class="uib_shim"&gt;&lt;/span&gt;
                                  &lt;/div&gt;
                                  &lt;div class="widget-container content-area vertical-col"&gt;
                                      &lt;label for="enddate"&gt;End Date:&lt;/label&gt;
                                      &lt;input type="date" name="enddate" id="enddate" value="2014-03-01" class="jq-ui-forms"&gt;
                                      &lt;span class="uib_shim"&gt;&lt;/span&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;
                              &lt;div class="widget-container content-area vertical-col"&gt;
                                  &lt;div id="fieldOptions"&gt;
                                      Field Options Go here
                                  &lt;/div&gt;
                              &lt;/div&gt;
                              &lt;div class="widget-container content-area vertical-col"&gt;
                                  &lt;a class="button widget uib_w_26 d-margins icon error" data-uib="app_framework/button" data-ver="0" id="removeFavorite-button"&gt;Remove Stock from Favorites&lt;/a&gt;
                                  &lt;a class="button widget uib_w_27 d-margins icon add" data-uib="app_framework/button" data-ver="0" id="addFavorite-button"&gt;Add Stock to Favorites&lt;/a&gt;
                                  &lt;a class="button widget uib_w_18 d-margins icon check" data-uib="app_framework/button" data-ver="0" id="settings-done-button"&gt;Done&lt;/a&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;&lt;span class="uib_shim"&gt;&lt;/span&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;span class="uib_shim"&gt;&lt;/span&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>