moving mobile browser detection to config