updating demo to make the element visible