implemented move

implemented move and fixed the "muti-items being selected at the same
time bug"
implemented resize

implemented resize and fixed the not selected problem for square
added the color pad