Fix sidebar_current reference