Store layout type (advanced == 2-column) in a public variable. No more header animation to make code faster and synchronous.