smoothstep() workaround for IE11