Making the view navigation controls for 2d and 3d a separate class.