merged index2 plotting stuff into index, added css styles for different widths.