Set height/width dynamicly