Nicer transition for opening main view
only send currentgraph when there is one