properly set uniforms on touchmove/touchstart