cleaning up the isMobile logic