Hiding and showing the controls of the panel on the shadowbox

Signed-off-by: alfabrad <zerovamp@hotmail.com>