version 1.0.2 - now support device orientation