Created moving rectangles in the screen