Add orientation class to select portrait or landscape orientation