Setting the div to the newly calculated width.