Adds navigation functionality