added width/height attr

for faster rendering