added function/keys to move tags and change idx