fixing the cube re-render flicker bug by swapping cube sides on transition on complete instead of rendering again