fixed new width calculation in for ie < 9