fixed bug for calculating last child width. It was not taking padding & border into consideration