Added tab navigation functionality.