Get browser window with when resized, measure element width, set value of model.