fixed bug where switching from graph to question view and back would break the display