toggle images in graph