Dropdown disappears, bug fix for chrome and IE