Preserve the current item selection when rebuilding the item store.
Bug #10582 scroll the items list automatically to keep the moved item
visible at the new position

(Raphael Groner <projects.rg{at}smart.ms>)

+ some cleanup.