fix vertical orientation in OnSaveInstanceState

Please add fix that saving orientation of panel.