updated demo for display -> visible