fixed image viewer bug in Android 2.3 and below