title: auto change position vertical submenu dynamically in angular
body: <p>I have a vertical menu with submenus that hide at the bottom,
  I need a solution that allows you to change the position of the submenu dynamically upwards but keeps the organization of the menu for example if you open the last item of the menu it must be next to the last item of the sub- menu, the goal is to always display all the submenus.</p>
  <p>I tried this style but when I open the first menu item the submenus are hidden at the top :</p>
  <pre><code>    .sat-popover-container.sat-popover-after.sat-popover-below {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
       }
  </code></pre>