Added custom view to subview of window