Bug fixes

Fixes a bug where Bootstrap can't remove the 'active' class on elements
after they've been hidden inside the dropdown