added show sidebar to display preferences