swap ido vertical code for ido-vertical-mode