added a max-height to the graphs