Added new helper function that locates views recursively across nested sub-views.