hopefully fix sidebar appearing during startup when it shouldn't