rearrange
update the selection as the mouse move