Added navigation functionality.