Added cookies for the order of the graphs and if they are visible,
fixed a bug that occured when resizing.