Uppdating sidebar to work with subfolder sites