Affix sidebar to the side so it does not disappear on scroll. Also let it scroll independently if it is too long for browser height.