double click on 2D viewer to switch views