adding nav class to events page