updated index page CSS and functionality