Fixing hidden css styles breaking dropdown