event binding nav buttons