move sidebar JS *working in dev*