Add widget method for navigation