Made nav buttons work.