Keep track of the selected items after mouseUp