Dropdown using jQuery way of getting element width