Added commented code for detecting mobile or desktop browser