UiViewer: switch between 2 and 3 dimensions and change the drag and rotate behaviour accordingly
SchlegelView: switch UiViewer modes on dimensions change
UiViewer: reset translation and dragging after mode change