hide template switch bar whern loading