restructing of sidebar