test toggle view