We can switch this example to the Viewer widget and get rid of the custom scene mode dropdown.  This will simplify the example and make it easier to read because of less code.