major refactoring of index page styling