continued, but incomplete, work on sidebar