Fixes #23 issue with queued animations in dropdown and modal