code: def _get_pos(self):
          
          if self._h >= len(self._options):
              return 0
          else:
              return self._start_line / (len(self._options) - self._h)
docs: Get current position for scroll bar.