Added constraints to ensure subview resizes with parent view