Resize and move the squares