Layout subviews in demo project when orientation changes