Remove dead sidebar code