updated mobile and tablet variables