add scaling of the cube during animation