css and graph height changed