Improve sidebar affix.