Added better resizing with labels