move view frame setting after adding child view controller