added the function for mobile theme visibility

added the function for mobile theme visibility #296