Implement next and previous events