Changes in css in back. Graph changes in front