Fixed bug: divs in dropdown not disappearing

jquery function was still checking for certain dropdowns to be open
(unnecessary)