use canvas to implement movable rectangles