Reimplement dropdowns
Fix an error when there are no tabs on a page