Updating layout for sidebar