swap between graphs functionality. now rendering graph specified in the URL