adding 3d support for css3 rendering