toolbar show logic