added layout switching options