Return sidebar code