finish sidebar layout