modify sidebar to build reverse