Set the styles initially so there isn't a width resize flicker.  Add a CSS transition on width to make the enlarging a bit smoother.