Improved narrow screen detection

Added iOS and Android > 3.0 narrow screen detection with fallback to original detection method.