Dynamic mental representation in infancy