Every dropdown on a page is now treated individually.

Bugfixes for having multiple dropdowns on one page.