fixed issue with portrait / landscape on iPad