fix orientation change crash bug
Merge pull request #16 from hijamoya/master

fix orientation change crash bug