Panels in tabbed panel

How do I get the Immediate and Locals panels to group together in a tabbed panel like the Activities and Project are? They used to be that way and now I can’t make that work.

image