got rid of unecessary subview in root view and working on autosizing subview in modal view to match the view of the view controller