added ido vertical mode