sidebar finally working