add nav behavior, not quite working yet