Add switch behaviour to game page graph