included code for navigation bar for events page