add setControlsVisibility example