enable or disble auto views