Added width updation on resize

The width of the autocomplete suggestions box now updates on resize to match the parent width, in addition to the position.