reset selection on a new drag
reset clicks arrays on new drag
remove unnessacary attributing
improve scaling
add some comments