changed sidebar show method to render