Moving all sidebar wrapper rendering to the wrapper method.