fixed orientation issues with iPad view