improving viewport.setKeyFrameInterpolator