adding view.fillWithSubview() function for utility