adding panel to main scene

problem with pause and animation - need to solve