added mobile bariable to index.php