rescaled Z axis during animation