handles detecting mobile browsers