I mean you must share the code , without it we can say nothing
you could search for some code to check browser & device of clients. However please remember that the small screen does not mean small...
why you don't share your file here?
Separate names with a comma.