add past events toggle feature