Fixed iPad orientation issue

fixes #14 and #10