Pass in the current pane and the view to each subview