Remove space
Add mobile detection
Remove scrollTop condition for refresh
Use the isMobile condition here instead of a browser size check
Use the isMobile condition here instead of a browser size check and additionally don't focus the search on a data refresh (not on consecutive renders of the same view)