Changing the width of an element as the window is scrolled