Implement switching between viz modes using spacebar