toggle view buttons