Bug fix for sidebar navigation.