added show/hide control functions