optimized orientationchange detection for slow android devices