transpose on list selection too

instead of destroying that selection.
Also deselect afterwards if nothing was selected before, see previous
commit.