Use viewDidLayoutSubviews to replace did rotate event