connect index links to show pages, add css to show links