prevent double binding of events on document; add/remove 'dropdown-active' class on dropdown close/open action