Update index.php

Prepare index.php version for mobiles, tablets & desktops detection.