Adding scroll anchoring for sidebar and scroll js