FIX: image rotation based on device orientation