Added closing ability on events and endless scroll