index page working as a mobile and desktop