fix sidebar for external navigation