basic implementation of drag select and right click move