began rerwite of index.html to use media queries