I'll tell you what's happening. The boxes are not moving but the shades on the various edges do have a direction. It means that if the cubes have an external black shade and internal white shade they look smaller. If the white area is outside then they look bigger. That's the trick.