Added overflow control to the sidebar.