added some responsive elements and a line legend