random color and X Y movement of rectangle