moved img into css tree