Fix loading of sidebar contents