Handle is-selected class switching in nav