title: Ionic 2 - How to recalculate margins for scroll-content and fixed-content
body: <p>I'm using auth0 lock in my ionic 2 app for authentication. Once authenticated, the user is taken from the login page to the home page. The lock's config is set to <code>closable: false</code> to run some code in the background before sending the user to the home page.</p>
  
  <p>However, when I reach home, it turns out that both my <code>scroll-content</code> and <code>fixed-content</code> are missing inline css for margins. A similar issue has also been discussed here: <a href="https://forum.ionicframework.com/t/using-nav-setroot-causes-scroll-content-to-be-missing-margins-for-header-footer/73853" rel="nofollow noreferrer">Using nav.setRoot causes scroll-content to be missing margins for header/footer</a></p>
  
  <p>Does anyone know how to or what triggers the calculation and insertion of inline css on <code>scroll-content</code> and <code>fixed-content</code>?</p>
  
  <p>This issue doesn't seem to surface if auth0 lock config has <code>autoclose: true</code>, but only happens if you manually hide the lock and proceed to another page.</p>