added toggle switch and event listener for live/completed games