Removed second past events toggle button and changed js logic