title: fixed div hiding behind other div when scrolling
body: <p>I set this div as two small flags to choose the language of the page. They are fixed (sticky) on top right of the screen. Problem is when I scroll, because they hide behind other elements such as images or background colors. How to make them not hide anymore?
  I tried setting parent class as 'navbar' and somehow it works, but the elements wrap up when screen shrinks.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#flags {
    position: fixed;   
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div style=" float: right; width: 100px; margin-top: 60px;"&gt;
    &lt;div id="flags"&gt;
      &lt;span&gt;
        &lt;a href="default.html"&gt;
          &lt;img  id="uk" src="images/uk.png"&gt;
      &lt;/span&gt;&lt;/a&gt;
      &lt;span&gt;&lt;a href="default_ita.html"&gt;
        &lt;img  id="uk" src="images/italy.png"&gt;
      &lt;/span&gt;&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>