some index tab styling changes, with conditional Layout tab hiding