added visibility
don't render when hidden