Swiping between two graphs