added active state to nav buttons