Updated index.php with better code

Fluid layout