Removed deprecated sidebar code