added landscape layout and persist state across device orientation changes