add toggle view control