Basic version with moving rectangles