fixed up timing of hiding and showing the link to the graph. Even when the graph wasn't showing, this used to appear.