simplify away excess omitted logic
hide and show ad container element