update container frame in viewDidLayoutSubviews