created controller for the topviewContainer