detect browser width on mobile for different display