Adding the changes to make it into a sidebar.