added code to re-draw the dropdowns every time a rest call is called because IE does not refresh the width of the dropdowns unless they are hidden and shown again