added mobile browser check