added mobile browser detection