Added code to control the sidebar width.