Hide the next event section if there is no event in the future 

And made the code more robust. It now allows more than one event in future and unordered events.