put styles in layout instead of index