Adding titles and updating graph height